package com.kaili.basic.pojo.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by linjian on 19-8-1.
 */
@Data
@TableName("mdm_user")
public class MdmUserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    @ApiModelProperty("用户id")
    private Long userId;

    @TableField("user_name")
    @ApiModelProperty("用户名")
    private String userName;

    @TableField("name")
    @ApiModelProperty("姓名")
    private String name;

    @TableField("org_id")
    @ApiModelProperty("所属机构")
    private Long orgId;

    @TableField("phone")
    @ApiModelProperty("手机号码")
    private String phone;

    @TableField("email")
    @ApiModelProperty("邮箱")
    private String email;

    @TableField("created_time")
    @ApiModelProperty("创建时间")
    private Date createdTime;

    @TableField("created_by")
    @ApiModelProperty("创建人")
    private Long createdBy;

    @TableField("modify_time")
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @TableField("modify_id")
    @ApiModelProperty("修改人")
    private Long modifyId;

    @TableField("rd_status")
    @ApiModelProperty("使用状态")
    private String rdStatus;

    @TableField("group_id")
    @ApiModelProperty("所属分组")
    private Long groupId;

    @TableField("password")
    @ApiModelProperty("帐号密码")
    private String password;

    @TableField("role_id")
    @ApiModelProperty("角色")
    private Long roleId;
}
